package comday05.itheima01;

public class Demo01 {
    //main方法
    public static void main(String[] args) {
        System.out.println(4);
        //调用方法
        method();
        method();

        System.out.println(5);
    }

    //定义方法
    public static void method(){
        System.out.println(1);
        System.out.println(2);
        System.out.println(3);
    }
}
